package com.muyan.observer.impl;

import com.muyan.observer.ObServer;

/**
 * @Author: YLTDMenglc
 * @Date: 2019/6/11
 * @Time: 12:21
 * @Description:
 */
public class UserObServer implements ObServer {

    private String name;

    public UserObServer(String name){
        this.name = name;
    }

    @Override
    public void update(String msg) {
        System.out.println(name + "老师接收到微信服务通知的消息" + msg);
    }
}
